﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace Turnero.DAOs
{
    class DAO_Localidades:BaseDatos

    {
        public DataTable DameLocalidades()
        {
            DataTable dt = new DataTable();

            SqlCommand cmd = new SqlCommand("paConsultarLocalidades", cn);
            cmd.Connection = ConectarDB();
            cmd.CommandType = CommandType.StoredProcedure;
            SqlDataAdapter adap = new SqlDataAdapter(cmd);
            adap.Fill(dt);
            return dt;
        }

    }

}
